Optimal. Leaf size=89 \[ \frac {64 a^3 \sin (c+d x)}{15 d \sqrt {a+a \cos (c+d x)}}+\frac {16 a^2 \sqrt {a+a \cos (c+d x)} \sin (c+d x)}{15 d}+\frac {2 a (a+a \cos (c+d x))^{3/2} \sin (c+d x)}{5 d} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.03, antiderivative size = 89, normalized size of antiderivative = 1.00, number of steps
used = 3, number of rules used = 2, integrand size = 14, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.143, Rules used = {2726, 2725}
\begin {gather*} \frac {64 a^3 \sin (c+d x)}{15 d \sqrt {a \cos (c+d x)+a}}+\frac {16 a^2 \sin (c+d x) \sqrt {a \cos (c+d x)+a}}{15 d}+\frac {2 a \sin (c+d x) (a \cos (c+d x)+a)^{3/2}}{5 d} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 2725
Rule 2726
Rubi steps
\begin {align*} \int (a+a \cos (c+d x))^{5/2} \, dx &=\frac {2 a (a+a \cos (c+d x))^{3/2} \sin (c+d x)}{5 d}+\frac {1}{5} (8 a) \int (a+a \cos (c+d x))^{3/2} \, dx\\ &=\frac {16 a^2 \sqrt {a+a \cos (c+d x)} \sin (c+d x)}{15 d}+\frac {2 a (a+a \cos (c+d x))^{3/2} \sin (c+d x)}{5 d}+\frac {1}{15} \left (32 a^2\right ) \int \sqrt {a+a \cos (c+d x)} \, dx\\ &=\frac {64 a^3 \sin (c+d x)}{15 d \sqrt {a+a \cos (c+d x)}}+\frac {16 a^2 \sqrt {a+a \cos (c+d x)} \sin (c+d x)}{15 d}+\frac {2 a (a+a \cos (c+d x))^{3/2} \sin (c+d x)}{5 d}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.09, size = 71, normalized size = 0.80 \begin {gather*} \frac {a^2 \sqrt {a (1+\cos (c+d x))} \sec \left (\frac {1}{2} (c+d x)\right ) \left (150 \sin \left (\frac {1}{2} (c+d x)\right )+25 \sin \left (\frac {3}{2} (c+d x)\right )+3 \sin \left (\frac {5}{2} (c+d x)\right )\right )}{30 d} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 0.09, size = 73, normalized size = 0.82
method | result | size |
default | \(\frac {8 a^{3} \cos \left (\frac {d x}{2}+\frac {c}{2}\right ) \sin \left (\frac {d x}{2}+\frac {c}{2}\right ) \left (3 \left (\cos ^{4}\left (\frac {d x}{2}+\frac {c}{2}\right )\right )+4 \left (\cos ^{2}\left (\frac {d x}{2}+\frac {c}{2}\right )\right )+8\right ) \sqrt {2}}{15 \sqrt {a \left (\cos ^{2}\left (\frac {d x}{2}+\frac {c}{2}\right )\right )}\, d}\) | \(73\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A]
time = 0.56, size = 60, normalized size = 0.67 \begin {gather*} \frac {{\left (3 \, \sqrt {2} a^{2} \sin \left (\frac {5}{2} \, d x + \frac {5}{2} \, c\right ) + 25 \, \sqrt {2} a^{2} \sin \left (\frac {3}{2} \, d x + \frac {3}{2} \, c\right ) + 150 \, \sqrt {2} a^{2} \sin \left (\frac {1}{2} \, d x + \frac {1}{2} \, c\right )\right )} \sqrt {a}}{30 \, d} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 0.35, size = 62, normalized size = 0.70 \begin {gather*} \frac {2 \, {\left (3 \, a^{2} \cos \left (d x + c\right )^{2} + 14 \, a^{2} \cos \left (d x + c\right ) + 43 \, a^{2}\right )} \sqrt {a \cos \left (d x + c\right ) + a} \sin \left (d x + c\right )}{15 \, {\left (d \cos \left (d x + c\right ) + d\right )}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int \left (a \cos {\left (c + d x \right )} + a\right )^{\frac {5}{2}}\, dx \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A]
time = 0.47, size = 84, normalized size = 0.94 \begin {gather*} \frac {\sqrt {2} {\left (3 \, a^{2} \mathrm {sgn}\left (\cos \left (\frac {1}{2} \, d x + \frac {1}{2} \, c\right )\right ) \sin \left (\frac {5}{2} \, d x + \frac {5}{2} \, c\right ) + 25 \, a^{2} \mathrm {sgn}\left (\cos \left (\frac {1}{2} \, d x + \frac {1}{2} \, c\right )\right ) \sin \left (\frac {3}{2} \, d x + \frac {3}{2} \, c\right ) + 150 \, a^{2} \mathrm {sgn}\left (\cos \left (\frac {1}{2} \, d x + \frac {1}{2} \, c\right )\right ) \sin \left (\frac {1}{2} \, d x + \frac {1}{2} \, c\right )\right )} \sqrt {a}}{30 \, d} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [F]
time = 0.00, size = -1, normalized size = -0.01 \begin {gather*} \int {\left (a+a\,\cos \left (c+d\,x\right )\right )}^{5/2} \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________